package com.fy.tt.service.impl;

import com.fy.tt.service.WordService;

/**
 * <p>
 * 帮语词汇表 服务实现类
 * </p>
 *
 * @author xiaoliang
 * @since 2021-06-30
 */
public class WordServiceImpl implements WordService {

//    @Override
//    public Page<Word> pageWordCondition(long current, long limit, WordQuery wordQuery) {
//
//        Page<Word> page = new Page<>(current,limit);
//        QueryWrapper<Word> wrapper = new QueryWrapper<>();
//
//        //封装查询信息
//        String name = wordQuery.getName();
////        Integer level = wordQuery.getLevel();
////        String begin = wordQuery.getBegin();
////        String end = wordQuery.getEnd();
////        //wrapper
//        if(!StringUtils.isEmpty(name)){
//            wrapper.like("name",name);
//        }
////        if(!StringUtils.isEmpty(level)){
////            wrapper.eq("level",level);
////        }
////        if(!StringUtils.isEmpty(begin)){
////            wrapper.ge("gmt_create",begin);
////        }
////        if(!StringUtils.isEmpty(end)){
////            wrapper.le("gmt_create",end);
////        }
//        //按注册时间 降序排序
////        wrapper.orderByDesc("gmt_create");
//
//        baseMapper.selectPage(page,wrapper);
//
//        return page;
//    }
}
